<div class="modal">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title"><?php echo isset($ModalTitle) ? $ModalTitle : '' ?></h4>
            </div>
            <div class="modal-body">
                <?php echo isset($ModalBody) ? $ModalBody : '' ?>
            </div>
            <?php if (isset($ModalFooter)): ?>
                <div class="modal-footer">
                    <?php echo $ModalFooter; ?>
                </div>
            <?php endif; ?>
        </div>
    </div>
</div>
<script>
    $(function () {
        $('.modal').modal(
            {
                backdrop:'static',
                keyboard:false
            }
        );
    });
</script>